//
//  PhotosetAddViewController.h
//  iFlickr
//
//  Created by 张 霄鹤 on 09-7-28.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>


@interface PhotosetAddViewController : UIViewController<UITableViewDelegate, UITableViewDataSource, UITextFieldDelegate> {
	IBOutlet UITableView *table;
	IBOutlet UITextField *txtTitle;
	IBOutlet UITextField *txtDescription;
	IBOutlet UILabel *txtPhotoID;
	
	IBOutlet UITableViewCell *cellTitle;
	IBOutlet UITableViewCell *cellDesc;
	IBOutlet UITableViewCell *cellPhoto;
	IBOutlet UIBarButtonItem *btnSubmit;
	
	NSString *photoID;
}

@property(nonatomic,retain) NSString *photoID;

-(IBAction)submitAction:(id)sender;

/**
 * 提交照片集到flickr
 * @param params 采用key=value 来识别，包括 title=xxx, description=xxx, primary_photo_id=photoID
 */
-(void)submitPhotoset:(NSDictionary *)params;

@end
